<template>
    <div class="category">
        <!-- 具名插槽 -->
        <slot name='center'></slot>
        <slot name='footer'></slot>
    </div>
</template>

<script>
    export default {
        name : "Category",
    }
</script>

<style scoped>
    .category{
        background-color: skyblue;
        width: 200px;
        height: 300px;
    }
    h3{
        text-align: center;
        background-color: orange;
    }
</style>